package com.whales.lms.rms.web.controller;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.whales.lms.rms.web.model.HardwareVO;
import com.whales.lms.rms.web.service.HardwareService;
import com.whales.shared.controller.GenericController;

@Controller
@RequestMapping("/hardware/*")
public class HardwareController extends GenericController<HardwareVO, HardwareVO, HardwareService> {
	@RequestMapping
	public @ResponseBody List<HardwareVO> getHardwareTypes() throws Exception{
		return service.getHardwareTypes();
	}
}